<template>
    <div>
      <el-link type="primary" v-on:click="sums()">主要链接</el-link>
    </div>
</template>

<script>
  export default {
    name: 'hello',
    methods:{
      sums:function () {
        this.$router.push({path:'/'})
      }
    }
  }




</script>

<style scoped>

</style>
